package com.chen.dao;

import com.chen.bean.User;
import org.apache.ibatis.annotations.Param;

public interface UserMapper {

    void insertUser(User user);

    User getUserByName(String username);

    void updatePassword(User user);

    User getUserByTitle(String title);

    void insertAvatar(@Param("url") String url,@Param("username") String username);
}
